﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class TReceivingBillDto
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 单号
        /// </summary>
        public string BillNo { get; set; }
        /// <summary>
        /// 供应商Id
        /// </summary>
        public int? SupplierId { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 状态：0-未开始；1-未完成；2-已完成
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BeginDate { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 关联单号
        /// </summary>
        public string RefSn { get; set; }
        /// <summary>
        /// 收货人
        /// </summary>
        public string Receiver { get; set; }
        /// <summary>
        /// 库存地点
        /// </summary>
        public string StoLocation { get; set; }
        /// <summary>
        /// 总数量
        /// </summary>
        public decimal? TotalQty { get; set; }
        /// <summary>
        /// 总检查数量
        /// </summary>
        public decimal? TotalCheckQty { get; set; }
        /// <summary>
        /// 已检查数量
        /// </summary>
        public decimal? CheckedQty { get; set; }
        /// <summary>
        /// 是否已创建检查清单
        /// </summary>
        public bool? IsCreatedChecklist { get; set; }
        /// <summary>
        /// 检查类型
        /// </summary>
        public int? CheckType { get; set; }
        /// <summary>
        /// 检查结果
        /// </summary>
        public int? CheckResult { get; set; }
        /// <summary>
        /// 不合格原因
        /// </summary>
        public string Ngreason { get; set; }
        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string WarehouseCode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 总价格
        /// </summary>
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 创建用户ID
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建用户名
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 供应商Id
        /// </summary>
        public int GId { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string GName { get; set; }
        /// <summary>
        /// 库房Id
        /// </summary>
        public int KId { get; set; }
        /// <summary>
        /// 库房名称
        /// </summary>
        public string KName { get; set; }
    }
}
